-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing foreign keys to fix #545 #549
Conversation
RMartinOscar
commented
Aug 14, 2024
•
edited
Loading
edited
- Make name & env_variables unique for each egg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides the backend changes we should also handle the frontend properly.
database/migrations/2024_08_14_182737_fix_egg_variable_foreign_key.php
Outdated
Show resolved
Hide resolved
database/migrations/2024_08_14_182737_fix_egg_variable_foreign_key.php
Outdated
Show resolved
Hide resolved
database/migrations/2024_08_14_182737_fix_egg_variable_foreign_key.php
Outdated
Show resolved
Hide resolved
356ecde
to
a6bf9cb
Compare
@Boy132 sqlite tests are still failling |
I found the reason: the |
@RMartinOscar Can you merge main, and see if the tests pass? |
We should programmatically enforce this instead, I think sqlite has an issue with composite unique keys. |